//
//  WYAboutController.m
//  CirclePush
//
//  Created by admin on 2018/5/23.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYAboutController.h"

@interface WYAboutController ()

@end

@implementation WYAboutController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
    // Do any additional setupafter loading the view.
}
-(void)setupUI
{
    [self initTopBarWithTitle:@"关于我们"];
    [self addLeftButton:[UIImage imageNamed:@"return"] width:0 height:0];
    UIWebView *webView = [[UIWebView alloc]init];
    [self.view addSubview:webView];
    webView.frame  = CGRectMake(0, kDevice_Is_iPhoneX?88:64, kScreenWidth, kScreenHeight);
    NSString *path = [[NSBundle mainBundle] pathForResource:@"about" ofType:@"html"];
    NSURL* url = [NSURL  fileURLWithPath:path];//创建URL
    NSURLRequest* request = [NSURLRequest requestWithURL:url];//创建NSURLRequest
    [webView loadRequest:request];//加载
    
    
    
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
